/*
 * SPDX-FileCopyrightText: 2010-2022 Espressif Systems (Shanghai) CO LTD
 *
 * SPDX-License-Identifier: CC0-1.0
 */

#include <stdio.h>
#include "sdkconfig.h"
#include "freertos/FreeRTOS.h"
#include "freertos/task.h"
#include "esp_log.h"


static const char *TAG = "app_main";



// int *ptr = NULL;
// ptr = (int *)malloc(10 * sizeof(int)); 
// if(ptr == NULL)
// {
//     return;
// }


void app_main(void)
{
    esp_log_level_set(TAG, ESP_LOG_VERBOSE);
    while(1)
    {
        ESP_LOGE(TAG,"This is error!");
        ESP_LOGW(TAG,"This is warning!");
        ESP_LOGI(TAG,"This is info!");
        ESP_LOGD(TAG,"This is debug!");
        ESP_LOGV(TAG,"This is verbose!");
        vTaskDelay(1000 / portTICK_PERIOD_MS);
    }
}
